package com.dhecp.project.hr.service;

import com.dhecp.common.core.domain.AjaxResult;
import com.dhecp.project.hr.domain.OperateCompanyRatio;
import com.dhecp.project.storage.domain.AssemblyMaintain;

import java.util.List;
import java.util.Map;

public interface OperateCompanyRatioService {

    /**
     * 查询
     * @param params
     * @return List - OperateCompanyRatio
     * @throws Exception
     * @author DH-Xxj
     */
    List<OperateCompanyRatio> queryList(Map<String, Object> params) throws Exception;


    OperateCompanyRatio findByGuid(Map<String, Object> params) throws Exception;

    OperateCompanyRatio findById(Map<String, Object> params) throws Exception;

    /**
     * 保存
     * @param moduleTable 必要参数：功能唯一标识
     * @param infoMap 必要参数：非网格字段（包括头部、底部所有显示和隐藏的字段）
     * @param infoItems 必要参数：对应实体类的json格式字符串
     * @return
     * @author DH-Xxj
     */
    AjaxResult saveData(Map<String, Object> params);

    /**
     * 删除
     * @param params
     * @return AjaxResult
     * @author DH-Xxj
     */
    AjaxResult deleteData(Map<String, Object> params);

    
}
